package com.yndsoft.jc.model;

import android.widget.CheckBox;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

public class ViewHolder {
    public TextView id;
    public TextView name;
    public TextView time;
    public TextView price;
    public ImageView img;
    public ImageView img_delete;
    public ImageButton delete;

    public ImageButton getDelete() {
        return delete;
    }

    public void setDelete(ImageButton delete) {
        this.delete = delete;
    }

    public ImageView getImg() {
        return img;
    }

    public void setImg(ImageView img) {
        this.img = img;
    }

    public ViewHolder() {
    }

    public ViewHolder(TextView id, TextView name) {
        this.id = id;
        this.name = name;
    }

    public ViewHolder(TextView id, TextView name, TextView time) {
        this.id = id;
        this.name = name;
        this.time = time;
    }

    public ViewHolder(TextView id, TextView name, TextView time, TextView price) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.price = price;
    }

    public TextView getId() {
        return id;
    }

    public void setId(TextView id) {
        this.id = id;
    }

    public TextView getName() {
        return name;
    }

    public void setName(TextView name) {
        this.name = name;
    }

    public TextView getTime() {
        return time;
    }

    public void setTime(TextView time) {
        this.time = time;
    }

    public TextView getPrice() {
        return price;
    }

    public void setPrice(TextView price) {
        this.price = price;
    }
}
